{extend name="./public/base"/}
{block name="alt"}广告管理{/block}
{block name="alter"}广告列表{/block}
{block name="title"}BangBang广告列表{/block}
{block name="main"}
<div class="row">
                    <div class="col-12">
                        <div class="card">
                            <div class="card-block">
                                <div class="card-body">
                                	<!-- <h3>广告列表</h3> -->
                                	
                                	<table class="table table-striped  mt-3">

                                            <thead>
                                                <tr>
                         <th scope="col" class="text-center">广告ID</th>
                                                    <th scope="col" class="text-center">广告名称</th>
                                                     <th scope="col" class="text-center">广告海报</th>
                                                    <th scope="col" class="text-center">广告类型</th>
                                                    <th scope="col" class="text-center">操作</th>
													
                                                </tr>
                                            </thead>
                                            <tbody>
                                            	{volist name="advers" id="ad"}
                                            	<tr>
                                            		<td><p class="text-center">{$ad.aid}</p></td>
                                            	<td><p class="text-center">{$ad.videoname}</p></td>
                                            	 <td class="text-center">
                                                        <img src="__STATIC__/videopic/{$ad.pic}" width="100px" height="70px" >
                                                    </td>
                                            	<td><p class="text-center">{$ad.typename}</p></td>
                                            	<td><p class="text-center"><a href="{:url('changeadver',['aid'=>$ad.aid])}"><i class="icon-pencil"></i>修改广告</a></p>
                                            		

												</td>
                                            	</tr>
                                            	{/volist}
                                            </tbody>
                                      
                                        </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
{/block}